home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
dmedia
/
midisynth.z
/
midisynth
Wrap
Text File
|
1998-10-30
|
16KB
|
331 lines
mmmmiiiiddddiiiissssyyyynnnntttthhhh((((1111)))) mmmmiiiiddddiiiissssyyyynnnntttthhhh((((1111))))
NNNNAAAAMMMMEEEE
midisynth - software MIDI synthesizer
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
mmmmiiiiddddiiiissssyyyynnnntttthhhh [[[[OOOOppppttttiiiioooonnnnssss]]]] [[[[PPPPrrrreeeesssseeeettttFFFFiiiilllleeee1111]]]] [[[[PPPPrrrreeeesssseeeettttFFFFiiiilllleeee2222]]]] [[[[............]]]][[[[PPPPrrrreeeesssseeeettttFFFFiiiilllleeee11116666]]]]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
mmmmiiiiddddiiiissssyyyynnnntttthhhh is a program which listens on the MIDI input port and generates
sounds in real time in response to MIDI events.
mmmmiiiiddddiiiissssyyyynnnntttthhhh has the following command-line options, most with a short and
long form as indicated:
----hhhh hhhheeeellllpppp
Print list of options.
----aaaa aaaallllllllMMMMIIIIDDDDIIII
Listen to all MIDI inputs. Default is to listen to only the
'Software Synth' port.
----bbbbaaaannnnkkkk <<<<bbbbaaaannnnkkkkppppaaaatttthhhh>>>>
Use <bankpath> as the default GM preset bank. Default is
/_u_s_r/_s_h_a_r_e/_d_a_t_a/_s_o_u_n_d_s/_s_y_n_t_h/_p_r_e_s_e_t_s/_G_e_n_e_r_a_l_M_I_D_I__S_o_u_n_d_S_e_t_L_e_v_e_l_1
----cccchhhhaaaannnnssss NNNN
Open an N-channel output port [2,4,8]. Default is 2.
----ccccppppuuuu <<<<lllliiiimmmmiiiitttt>>>>
Upper CPU usage limit. Default is 75%.
----gggg ggggaaaaiiiinnnn
Main Gain (in Decibels). Default is 0.
----ggggmmmm Start up in General MIDI (GM) mode. This is the default.
----ggggssss Start up in General MIDI GS-compatible mode.
----nnnnggggmmmm Start up in non-General MIDI mode.
----ddddeeeevvvviiiicccceeee <<<<aaaauuuuddddiiiiooooddddeeeevvvv>>>>
Use audio output device <audiodev>. Default is the currently-set
default output device.
----rrrr rrrraaaatttteeee
Sampling rate [8000..UP]. Default is 44100.
----tttt ttttiiiimmmmeeeeoooouuuutttt
Time out after last MIDI write port closed. -1 = never, 0 =
immediate, 1..N = minutes. Default is 5 minutes.
PPPPaaaaggggeeee 1111
mmmmiiiiddddiiiissssyyyynnnntttthhhh((((1111)))) mmmmiiiiddddiiiissssyyyynnnntttthhhh((((1111))))
----ttttuuuu ttttuuuunnnneeee
Tuning offset (Cents). Default is 0 cents.
----vvvv vvvveeeerrrrbbbboooosssseeee
Print MIDI events to screen or console. Default is false.
----vvvvoooo vvvvooooiiiicccceeeeccccoooouuuunnnntttt
Startup voice capacity of synthesizer [2..255]. Default varies with
CPU architecture.
----oooo ooooppppeeeennnnffffiiiilllleeee
Read startup state file. Default is $(_H_O_M_E)/._m_i_d_i_s_y_n_t_h_r_c.
PPPPrrrreeeesssseeeettttFFFFiiiilllleeee1111 ............ PPPPrrrreeeesssseeeettttFFFFiiiilllleeee11116666
Midisynth may be given a list of up to 16 preset file names. These
will be assigned to channels 1 through 16, in order, but will ignore
the entry for channel 10 (the Percussion channel) if mmmmiiiiddddiiiissssyyyynnnntttthhhh is
started in General MIDI mode. The file names must be specified as
full paths to the files.
TTTTHHHHEEEE DDDDEEEEFFFFAAAAUUUULLLLTTTT SSSSOOOOUUUUNNNNDDDD SSSSEEEETTTT
Midisynth's default basic sound set is the GGGGeeeennnneeeerrrraaaallll MMMMIIIIDDDDIIII 128 Preset
library, whose preset files are located in
/_u_s_r/_s_h_a_r_e/_d_a_t_a/_s_o_u_n_d_s/_s_y_n_t_h/_p_r_e_s_e_t_s. Alternate GM preset directories or
preset bank files may be specified on the command line as indicated.
Customized sounds may be created using real-time MIDI System Exclusive
messages and editing synth preset files.
mmmmiiiiddddiiiissssyyyynnnntttthhhh is autostarted the first time an application opens a MIDI write
port on the SoftwareSynth MIDI device. mmmmiiiiddddiiiissssyyyynnnntttthhhh times out (shuts itself
off) five minutes after the last MIDI write port on the SoftwareSynth
MIDI device is closed.
HHHHAAAANNNNDDDDLLLLIIIINNNNGGGG OOOOFFFF TTTTHHHHEEEE MMMMIIIIDDDDIIII DDDDAAAATTTTAAAA IIIINNNNPPPPUUUUTTTT
mmmmiiiiddddiiiissssyyyynnnntttthhhh starts up with a MIDI input port on the SoftwareSynth MIDI
device. Additional MIDI Devices may be added with Port Setup from the
ToolChest System Manager. Use ssssyyyynnnntttthhhhppppaaaannnneeeellll(1) to toggle mmmmiiiiddddiiiissssyyyynnnntttthhhh's
response to data from the available MIDI devices. mmmmiiiiddddiiiissssyyyynnnntttthhhh merges all
inputs into a single 16-channel stream and processes all messages.
Currently, mmmmiiiiddddiiiissssyyyynnnntttthhhh merges the preset and controllers from all input
devices, but Note On/Off status is handled per device. For example,
NOTEOFF to device "SoftwareSynth" will not cancel a NOTEON from device
"Serial Port 1".
CCCCPPPPUUUU UUUUSSSSAAAAGGGGEEEE LLLLIIIIMMMMIIIITTTTIIIINNNNGGGG
mmmmiiiiddddiiiissssyyyynnnntttthhhh runs with non-degrading priority, i.e., it will not relinquish
the CPU to any other process (with the exception of a few system
processes). In order to avoid consuming the operating system's entire
resources, mmmmiiiiddddiiiissssyyyynnnntttthhhh uses a CPU usage limiting system. When its
percentage of the CPU rises above a predetermined threshold (see ccccppppuuuuLLLLiiiimmmmiiiitttt
below), it attempts to reduce its usage until the percentage is below
that threshold. It does this by killing off some of the active voices
PPPPaaaaggggeeee 2222
mmmmiiiiddddiiiissssyyyynnnntttthhhh((((1111)))) mmmmiiiiddddiiiissssyyyynnnntttthhhh((((1111))))
(using an internal heuristic designed to make this procedure as
unobtrusive as possible) until the CPU usage falls below the threshold.
RRRREEEELLLLAAAATTTTEEEEDDDD AAAAPPPPPPPPLLLLIIIICCCCAAAATTTTIIIIOOOONNNNSSSS
ssssyyyynnnntttthhhhppppaaaannnneeeellll(1) displays the 16 channel preset address space of mmmmiiiiddddiiiissssyyyynnnntttthhhh.
It also allows adding and selecting alternate preset banks, adjusting of
the master synthesizer volume, and selecting of MIDI input ports.
mmmmiiiiddddiiiikkkkeeeeyyyyssss(1) may be used to play the synthesizer and change its presets on
a single MIDI channel at a time.
ssssoooouuuunnnnddddppppllllaaaayyyyeeeerrrr(1) allows playback of standard MIDI data files via the
synthesizer.
ssssyyyynnnntttthhhheeeeddddiiiittttoooorrrr(1) allows real-time editing of active presets and all
synthesizer parameters, as well as editing and creating new
ssssyyyynnnntttthhhhpppprrrreeeesssseeeetttt(4) files.
CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN
mmmmiiiiddddiiiissssyyyynnnntttthhhh reads a configuration file at startup time which allows a small
set of startup parameters to be configured by the user. These parameters
are the same as those available on the command line. mmmmiiiiddddiiiissssyyyynnnntttthhhh looks for
files in the following three places, stopping after the first of these is
found:
$_H_O_M_E/_m_i_d_i_s_y_n_t_h._s_t_a_r_t_u_p
$_H_O_M_E/._m_i_d_i_s_y_n_t_h_r_c
/_v_a_r/_d_m_e_d_i_a/_m_i_d_i/_m_i_d_i_s_y_n_t_h/_s_t_a_r_t_u_p
Note that none these files is present by default, nor is the subdirectory
/_v_a_r/_d_m_e_d_i_a/_m_i_d_i/_m_i_d_i_s_y_n_t_h. This could be added by the system
administrator.
Each parameter must be on a line of its own, and must be in the form
mmmmiiiiddddiiiissssyyyynnnntttthhhh****ppppaaaarrrraaaammmmeeeetttteeeerrrrNNNNaaaammmmeeee:::: ppppaaaarrrraaaammmmeeeetttteeeerrrrVVVVaaaalllluuuueeee
The following parameters may be set:
ccccppppuuuuLLLLiiiimmmmiiiitttt
Upper limit of CPU usage allowed before mmmmiiiiddddiiiissssyyyynnnntttthhhh will begin to kill
off voices. Default is 75 (percent).
ddddeeeeffffaaaauuuullllttttBBBBaaaannnnkkkk
The full path to an alternate General MIDI preset bank. This may
either be a directory containing preset files, or a SoundFont2-
compatible preset bank file.
oooouuuuttttppppuuuuttttDDDDeeeevvvviiiicccceeee
A string representing the audio output device to use. Legal values
are the AAAALLLL____NNNNAAAAMMMMEEEE parameters for the various audio devices. The
default is "DefaultOut".
PPPPaaaaggggeeee 3333
mmmmiiiiddddiiiissssyyyynnnntttthhhh((((1111)))) mmmmiiiiddddiiiissssyyyynnnntttthhhh((((1111))))
ggggaaaaiiiinnnnIIIInnnnddddBBBB
Master gain in decibels for the MIDI voices. Default is 0.
ggggeeeennnneeeerrrraaaallllMMMMIIIIDDDDIIII
Boolean. If True then midisynth will start up in general MIDI mode,
with channel 10 dedicated to the Percussion map. Default is True.
iiiinnnnppppuuuuttttFFFFrrrroooommmmAAAAllllllllMMMMIIIIDDDDIIIIDDDDeeeevvvviiiicccceeeessss
Boolean. If True then midisynth will read from all configured MIDI
input devices. Default is False
oooouuuuttttCCCChhhhaaaannnnnnnneeeellllssss
Number of channels of output audio to generate. Legal values are 2,
4, and 8. Default is 2.
ssssaaaammmmpppplllliiiinnnnggggRRRRaaaatttteeee
Sampling rate in Hz for the output audio. Default is 44100.
Setting this to lower values can significantly reduce CPU usage, but
will also decrease the sound quality. Minimum is 8000.
ttttuuuunnnneeeeIIIInnnnCCCCeeeennnnttttssss
Master detune of samples in cents (1/100 of a semitone). Default is
0.
pppprrrroooocccceeeessssssssLLLLeeeennnnggggtttthhhh
Length in samples of each generated audio buffer. Smaller buffers
give better response time but consume more CPU. For optimum
performance, this value should be a power of 2. Default is 256.
Minimum is 128, and the maximum is 512. This value _m_u_s_t be less
than or equal to sssstttteeeerrrreeeeooooQQQQuuuueeeeuuuueeeeSSSSiiiizzzzeeee.
sssstttteeeerrrreeeeooooQQQQuuuueeeeuuuueeeeSSSSiiiizzzzeeee
Length in samples of the audio output port queue (see
aaaallllSSSSeeeettttQQQQuuuueeeeuuuueeeeSSSSiiiizzzzeeee(3dm). Default is 1024 (4 x pppprrrroooocccceeeessssssssLLLLeeeennnnggggtttthhhh).
ttttiiiimmmmeeeeOOOOuuuuttttIIIInnnnMMMMiiiinnnnuuuutttteeeessss
Time in minutes before midisynth will exit from lack of MIDI input.
If set to -1, midisynth will never exit for this reason. Default is
5.
vvvveeeerrrrbbbboooosssseeee
Boolean. If True, midisynth operates in verbose mode, and will
print information about events received to the terminal (or the
console) via stdout. Default is False.
vvvvooooiiiicccceeeeCCCCoooouuuunnnntttt
The maximum number of polyphonic voices that can sound at one time.
Note that this is an upper limit, but that the CPU limiting factor
will also set an upper limit which, depending on the CPU, may be
lower than this value. For an R4000 processor, 24 is a reasonable
upper bound. For an R5000, 32 is good. For faster and/or
multiprocessor machines, higher values will work, often over 100
PPPPaaaaggggeeee 4444
mmmmiiiiddddiiiissssyyyynnnntttthhhh((((1111)))) mmmmiiiiddddiiiissssyyyynnnntttthhhh((((1111))))
voices. Minimum is 2 and maximum is 255.
Command-line arguments will override any default or configuration-file
settings.
HHHHAAAARRRRDDDDWWWWAAAARRRREEEE
_m_i_d_i_s_y_n_t_h runs on Iris Indigo R4000, Indigo2, Indy, O2, Octane, and
Onyx/Challenge machines fitted with the SGI Audio Serial Option (ASO)
Board.
BBBBUUUUGGGGSSSS
Please refer to the release notes for dmedia_eoe for futher information.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
synthpreset(4), midikeys(1), synthpanel(1), syntheditor(1),
soundplayer(1)
PPPPaaaaggggeeee 5555